function init(){
	selectAddOption("callbackScore","callbackScore","");
	laydate.render({
		elem: '#callbackTime',
		type: 'datetime'
	});
	$("#signupForm").validate({
		submitHandler:function(form){
            save();
        }
	})
}

function save() {
	$.ajax({
		cache : true,
		type : "POST",
		headers:PRIVATE_HEADERS,
		url : API_SERVER_URL + "parkcase/caseDataCallback/callback",
		data : $('#signupForm').serialize(),// 你的formid
		async : false,
		error : function(request) {
			parent.layer.alert("Connection error");
		},
		success : function(data) {
			if (data.code == 0) {
				parent.layer.alert("保存成功。");
				parent.reload();
				var index = parent.layer.getFrameIndex(window.name);  
				parent.layer.close(index);
			} else {
				parent.layer.alert(data.msg)
			}

		}
	});
}